import request from '@/api/request'

export function detail(kv) {
    return request({
      url: '/admin/xy/dorm/detail',
      method: 'get',
      kv
    })
  }

  export function dormSave(kv) {
    return request({
      url: '/admin/xy/dorm/save',
      method: 'post',
      kv
    })
  }

  export function dormUpdate(kv) {
    return request({
      url: '/admin/xy/dorm/update',
      method: 'post',
      kv
    })
  }

  export function dele(kv) {
    return request({
      url: '/admin/xy/dorm/del',
      method: 'get',
      kv
    })
  }